<?php echo $this->Form->create('Servico'); ?>

<?php
$profissao = array (
	'Engenharia_Comp' => 'Engenharia da Computação',
	'Mecanico' => 'Mecânico'
	
);

$area = array (
	'Engenharia' => 'Engenharia',
	'Humanas' => 'Humanas'
	
);
?>

<fieldset>
        <legend><?php echo __('Novo serviço'); ?></legend>
			<?php
			echo $this->Form->input('id', array('value' => $this->Session->read('Auth.Servico.id'),'type' => 'hidden'));

			echo $this->Form->input('nome_servico', array( 'label' => 'Serviço', 'type' => 'text')); 
			echo $this->Form->input('area', array('label' => 'Área', 'options' => $area));
			echo $this->Form->input('user_id', array('value' => $this->Session->read('Auth.User.id'), 'type' => 'hidden'));
			echo $this->Form->input('profissional', array('value' => $this->Session->read('Auth.User.nome'), 'type' => 'hidden'));
			echo $this->Form->input('tel_user', array('value' => $this->Session->read('Auth.User.tel'), 'type' => 'hidden'));
			echo $this->Form->input('email_user', array('value' => $this->Session->read('Auth.User.email'), 'type' => 'hidden'));
			echo $this->Form->input('comentário', array( 'label' => 'Comentário', 'type' => 'textarea')); 
			
			?>
</fieldset>
<?php echo $this->Form->end(__('Finalizar'));?>
